Merge pull request #19645 from jpap/babel-plugin-react-pug

Add types for babel-plugin-react-pug 0.5
This commit is contained in:
Nathan Shively-Sanders
2017-09-09 08:32:07 -07:00
committed by GitHub
4 changed files with 34 additions and 0 deletions
@@ -0,0 +1,4 @@
// $ExpectType any
pug`
p Hello pug!
`;
+6
View File
@@ -0,0 +1,6 @@
// Type definitions for babel-plugin-react-pug 0.5
// Project: https://github.com/ljbc1994/babel-plugin-react-pug
// Definitions by: John Papandriopoulos <https://github.com/jpap>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare var pug: any;
@@ -0,0 +1,23 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react"
},
"files": [
"index.d.ts",
"babel-plugin-react-pug-tests.tsx"
]
}
+1
View File
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }