From 1c2b40bfe901acb20ca6ffed0d373ca5b65137a7 Mon Sep 17 00:00:00 2001 From: Haseeb Majid Date: Fri, 22 Feb 2019 20:46:09 +0000 Subject: [PATCH] Linting fixes --- types/react-native-percentage-circle/index.d.ts | 3 ++- .../react-native-percentage-circle-tests.tsx | 2 +- types/react-native-percentage-circle/tsconfig.json | 7 +++---- types/react-native-percentage-circle/tslint.json | 4 +--- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/types/react-native-percentage-circle/index.d.ts b/types/react-native-percentage-circle/index.d.ts index 6c3aa9dc59..a1762ab962 100644 --- a/types/react-native-percentage-circle/index.d.ts +++ b/types/react-native-percentage-circle/index.d.ts @@ -1,7 +1,8 @@ -// Type definitions for react-native-percentage-circle 1.0.7 +// Type definitions for react-native-percentage-circle 1.0 // Project: https://github.com/JackPu/react-native-percentage-circle // Definitions by: Haseeb Majid // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.8 import * as React from 'react'; import { TextStyle } from 'react-native'; diff --git a/types/react-native-percentage-circle/react-native-percentage-circle-tests.tsx b/types/react-native-percentage-circle/react-native-percentage-circle-tests.tsx index c59a234ffe..b3752ee578 100644 --- a/types/react-native-percentage-circle/react-native-percentage-circle-tests.tsx +++ b/types/react-native-percentage-circle/react-native-percentage-circle-tests.tsx @@ -17,4 +17,4 @@ class PercentageCircleTest extends React.Component { ); } -} \ No newline at end of file +} diff --git a/types/react-native-percentage-circle/tsconfig.json b/types/react-native-percentage-circle/tsconfig.json index 83e730242e..7e3778a9f3 100644 --- a/types/react-native-percentage-circle/tsconfig.json +++ b/types/react-native-percentage-circle/tsconfig.json @@ -4,21 +4,20 @@ "lib": [ "es6" ], - "jsx": "react-native", "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, - "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ "../" ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "jsx": "react-native" }, "files": [ "index.d.ts", "react-native-percentage-circle-tests.tsx" ] -} \ No newline at end of file +} diff --git a/types/react-native-percentage-circle/tslint.json b/types/react-native-percentage-circle/tslint.json index e595b70d63..3db14f85ea 100644 --- a/types/react-native-percentage-circle/tslint.json +++ b/types/react-native-percentage-circle/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json", -} +{ "extends": "dtslint/dt.json" }