mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-14 12:09:04 +08:00
9 lines
128 B
TypeScript
9 lines
128 B
TypeScript
import typeOf = require('typeof');
|
|
|
|
typeOf(undefined);
|
|
typeOf(null);
|
|
typeOf(1);
|
|
typeOf('string');
|
|
typeOf(() => {});
|
|
typeOf({});
|