mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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);
|