mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-25 17:55:11 +08:00
wip
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"types": "index",
|
||||
"typesVersions": {
|
||||
">=3.1.0-0": { "*": ["ts3.1/*"] }
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import Abs = require('abs');
|
||||
|
||||
const x: string = Abs('/foo');
|
||||
const x: unknown = Abs('/foo');
|
||||
|
||||
@@ -5,6 +5,4 @@ import abs = require("abs");
|
||||
|
||||
const x: boolean = absolute('/home/foo');
|
||||
|
||||
|
||||
abs("");
|
||||
|
||||
const y: any = abs("");
|
||||
|
||||
Reference in New Issue
Block a user