feat:change makeRef to createRef

This commit is contained in:
pengfei.zhou
2021-09-03 16:48:24 +08:00
committed by osborn
parent c2b07e4a20
commit 4b66be7bc1
11 changed files with 20 additions and 23 deletions

2
doric-js/index.d.ts vendored
View File

@@ -195,7 +195,7 @@ declare module 'doric/lib/src/ui/view' {
set current(v: T);
get current(): T;
}
export function makeRef<T extends View>(): Ref<T>;
export function createRef<T extends View>(): Ref<T>;
export abstract class View implements Modeling {
width: number;
height: number;