mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #19645 from jpap/babel-plugin-react-pug
Add types for babel-plugin-react-pug 0.5
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
// $ExpectType any
|
||||
pug`
|
||||
p Hello pug!
|
||||
`;
|
||||
+6
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user