소스 검색

Modified Ref

Taichi Masuyama 4 년 전
부모
커밋
c851cd718c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/app/src/interfaces/common.ts

+ 1 - 1
packages/app/src/interfaces/common.ts

@@ -4,4 +4,4 @@
 
 
 // Foreign key field
-export type Ref<T> = string | T;
+export type Ref<T> = T & string;