mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fix lint errors
This commit is contained in:
parent
12c172badf
commit
53f4ae7e35
@ -1,3 +1,3 @@
|
||||
import expandTilde = require("expand-tilde");
|
||||
|
||||
expandTilde("~") // $ExpectType string
|
||||
expandTilde("~"); // $ExpectType string
|
||||
|
||||
3
types/expand-tilde/index.d.ts
vendored
3
types/expand-tilde/index.d.ts
vendored
@ -3,9 +3,8 @@
|
||||
// Definitions by: Chris Arnesen <https://github.com/carnesen>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
/**
|
||||
* Bash-like tilde expansion for node.js.
|
||||
* Bash-like tilde expansion for node.js.
|
||||
* Expands a leading tilde (~) in a file path to the user home directory, or ~+ to the cwd.
|
||||
*
|
||||
* @param {string} filePath - a file path to expand
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
@ -1 +1,6 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-redundant-jsdoc-2": false
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user