mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-31 05:57:33 +00:00
7 lines
209 B
TypeScript
7 lines
209 B
TypeScript
import parsePackageName = require('parse-package-name');
|
|
|
|
function testType({ name, path, version }: { name: string; path: string; version: string }) {}
|
|
|
|
const result = parsePackageName('');
|
|
testType(result);
|