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

View File

@@ -80,7 +80,7 @@ export class Ref<T extends View> {
}
}
export function makeRef() {
export function createRef() {
return new Ref
}

View File

@@ -62,7 +62,7 @@ export class Ref<T extends View> {
}
}
export function makeRef<T extends View>(): Ref<T> {
export function createRef<T extends View>(): Ref<T> {
return new Ref
}