mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Added stub definitions for react-bootstrap v1.0 (#43756)
* Added missing $filter overload Added missing $filter overload that allows multiple strings to translate and returns an object * Added v1 dir with stub * Updated def header * Added v1/tsconfig.json to make publisher happy * Added index.d.ts to files * Added paths per build failure * Moved paths to the right tsconfig * Fixed path mapping
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
// Type definitions for react-bootstrap 1.0
|
||||
// Project: https://github.com/react-bootstrap/react-bootstrap, https://react-bootstrap.github.io
|
||||
// Definitions by: Aaron Beall <https://github.com/aaronbeall>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
/**
|
||||
* This is a stub types definition for react-bootstrap. React-bootstrap provides its own type definitions for v1.0.0,
|
||||
* so you don't need @types/react-bootstrap installed!
|
||||
*/
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../../",
|
||||
"jsx": "react",
|
||||
"typeRoots": [
|
||||
"../../"
|
||||
],
|
||||
"paths": {
|
||||
"react-bootstrap": [
|
||||
"react-bootstrap/v1"
|
||||
],
|
||||
"react-bootstrap/*": [
|
||||
"react-bootstrap/v1/*"
|
||||
]
|
||||
},
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noUnusedLocals": false
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user