DefinitelyTyped/types/path-key/path-key-tests.ts
2018-12-24 19:07:32 +01:00

6 lines
170 B
TypeScript

import pathKey = require('path-key');
pathKey(); // $ExpectType string
pathKey({ env: {} }); // $ExpectType string
pathKey({ platform: 'win32' }); // $ExpectType string