Skip to content

Commit

Permalink
[unreal]$Ref是空interface会导致可以适配任意类型
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Nov 9, 2020
1 parent 6ddebfb commit a4486b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unreal/Puerts/Content/Typing/ue/puerts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
declare module "ue" {
type ArgumentTypes<T> = T extends (... args: infer U ) => infer R ? U: never;

interface $Ref<T> {}
interface $Ref<T> {
value: T
}

interface $CallbackID {}

Expand Down

0 comments on commit a4486b1

Please sign in to comment.