DefinitelyTyped/types/project-name/project-name-tests.ts
2019-04-09 09:55:00 +05:30

5 lines
103 B
TypeScript

import name = require('project-name');
name('d'); // $ExpectType string
name(); // $ExpectType string