mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
"types" in tsconfig should be empty.
This commit is contained in:
parent
ac7fdf1498
commit
b469c76ea5
@ -1,18 +1,14 @@
|
||||
import codeFrame from "babel-code-frame";
|
||||
|
||||
describe('babel-code-frame', () => {
|
||||
it('frames given code', () => {
|
||||
const code = `
|
||||
const number = 1;
|
||||
var string = 'foo';
|
||||
const code = `
|
||||
const number = 1;
|
||||
var string = 'foo';
|
||||
|
||||
function print(name: string) {
|
||||
console.log(string + name);
|
||||
}
|
||||
`;
|
||||
function print(name: string) {
|
||||
console.log(string + name);
|
||||
}
|
||||
`;
|
||||
|
||||
codeFrame(code, 5, 22);
|
||||
codeFrame(code, 5, 22, { forceColor: true });
|
||||
codeFrame(code, 2, 2, { highlightCode: true });
|
||||
});
|
||||
});
|
||||
codeFrame(code, 5, 22);
|
||||
codeFrame(code, 5, 22, { forceColor: true });
|
||||
codeFrame(code, 2, 2, { highlightCode: true });
|
||||
|
||||
@ -8,9 +8,7 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [
|
||||
"mocha"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
@ -8,9 +8,7 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [
|
||||
"graphql"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
@ -8,9 +8,7 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [
|
||||
"node"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/// <reference types="mocha" />
|
||||
declare var expect: any;
|
||||
|
||||
import id = require('incremental-dom');
|
||||
|
||||
@ -8,9 +8,7 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [
|
||||
"mocha"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
@ -8,9 +8,7 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [
|
||||
"node"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
@ -8,9 +8,7 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [
|
||||
"node"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
2
protractor-helpers/index.d.ts
vendored
2
protractor-helpers/index.d.ts
vendored
@ -3,8 +3,6 @@
|
||||
// Definitions by: John Cant <https://github.com/johncant/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference types="jasmine" />
|
||||
/// <reference types="selenium-webdriver" />
|
||||
|
||||
// ElementArrayFinder
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
|
||||
/// <reference types="jasmine" />
|
||||
|
||||
import helpers = require('protractor-helpers');
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"types": ["jasmine", "selenium-webdriver"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"types": ["selenium-webdriver"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
"paths": {
|
||||
"*": ["*", "react-daterange-picker/node_modules/*"]
|
||||
},
|
||||
"types": ["moment-range", "react"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"jsx": "react"
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": ["react"],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
@ -8,9 +8,7 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [
|
||||
"react"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
2
waterline/index.d.ts
vendored
2
waterline/index.d.ts
vendored
@ -3,6 +3,8 @@
|
||||
// Definitions by: Alexandro Libertino <https://github.com/arvitaly>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
import BluebirdPromise = require("bluebird");
|
||||
declare namespace Waterline {
|
||||
type Adapter = Object;
|
||||
|
||||
@ -8,10 +8,7 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [
|
||||
"node",
|
||||
"bluebird"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user