From d56f5132940af577e615e68ce5e510526c8ee871 Mon Sep 17 00:00:00 2001 From: Charles Salmon Date: Sat, 19 May 2018 12:41:29 +1200 Subject: [PATCH] Add TS version and set `strictFunctionTypes` on `react-youtube-embed`. --- types/react-youtube-embed/index.d.ts | 1 + types/react-youtube-embed/tsconfig.json | 1 + 2 files changed, 2 insertions(+) diff --git a/types/react-youtube-embed/index.d.ts b/types/react-youtube-embed/index.d.ts index 28088b4de3..9fcb2f81cb 100644 --- a/types/react-youtube-embed/index.d.ts +++ b/types/react-youtube-embed/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/escaladesports/react-youtube-embed#readme // Definitions by: Charles Salmon // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.6 import * as React from "react"; diff --git a/types/react-youtube-embed/tsconfig.json b/types/react-youtube-embed/tsconfig.json index 0daaa332ed..eb57aecf6c 100644 --- a/types/react-youtube-embed/tsconfig.json +++ b/types/react-youtube-embed/tsconfig.json @@ -5,6 +5,7 @@ "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", "jsx": "react", "typeRoots": ["../"],