typescript type
375 ワード
interface TypescriptType {
a: boolean;
b: string;
c: number;
d: null;
e: undefined;
f: any;
g(): void;
}
const typeTest: TypescriptType = {
a: true,
b: 'string',
c: 10,
d: null,
e: undefined,
f: 'anything',
g: () => { console.log('function'); }
}
Reference
この問題について(typescript type), 我々は、より多くの情報をここで見つけました https://velog.io/@yeomi/typescript-typeテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol