mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 14:59:37 +08:00
Add TS version and set strictFunctionTypes on react-youtube-embed.
This commit is contained in:
1
types/react-youtube-embed/index.d.ts
vendored
1
types/react-youtube-embed/index.d.ts
vendored
@@ -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";
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"jsx": "react",
|
||||
"typeRoots": ["../"],
|
||||
|
||||
Reference in New Issue
Block a user