moving things inline with the dt generator script and downgrading typescript version to acceptable 2.4

This commit is contained in:
voxmatt
2017-09-09 17:45:37 -10:00
parent 4a30f04920
commit b6a411db2a
6 changed files with 13 additions and 13 deletions
+2 -3
View File
@@ -1,9 +1,8 @@
// Type definitions for react-relay 1.3.0
// Project: https://github.com/facebook/relay
// Definitions by: Johannes Schickling <https://github.com/graphcool>
// Matt Martin <https://github.com/voxmatt>
// Definitions by: Johannes Schickling <https://github.com/graphcool>, Matt Martin <https://github.com/voxmatt>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.5
// TypeScript Version: 2.4
/// <reference types="react" />
/// <reference types="relay-runtime" />
+1 -1
View File
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
+1
View File
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }
+1 -1
View File
@@ -2,7 +2,7 @@
// Project: https://github.com/facebook/relay
// Definitions by: Matt Martin <https://github.com/voxmatt>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.5
// TypeScript Version: 2.4
declare namespace __Relay.Common {
/**
+7 -8
View File
@@ -1,8 +1,4 @@
{
"files": [
"index.d.ts",
"relay-runtime-tests.tsx"
],
"compilerOptions": {
"module": "commonjs",
"lib": [
@@ -13,14 +9,17 @@
"noImplicitThis": true,
"strictNullChecks": true,
"baseUrl": "../",
"jsx": "react",
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"jsx": "react",
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true
}
},
"files": [
"index.d.ts",
"relay-runtime-tests.tsx"
]
}
+1
View File
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }