Add TS version and set strictFunctionTypes on react-youtube-embed.

This commit is contained in:
Charles Salmon
2018-05-19 12:41:29 +12:00
parent 1def6a9af5
commit d56f513294
2 changed files with 2 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
// Project: https://github.com/escaladesports/react-youtube-embed#readme
// Definitions by: Charles Salmon <https://github.com/charles-salmon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6
import * as React from "react";

View File

@@ -5,6 +5,7 @@
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"jsx": "react",
"typeRoots": ["../"],