mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
camaro: Provides its own types (#39643)
This commit is contained in:
committed by
Jesse Trinity
parent
af5b50b662
commit
30fbc67c4b
@@ -372,6 +372,12 @@
|
||||
"sourceRepoURL": "https://github.com/sindresorhus/callsites",
|
||||
"asOfVersion": "3.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "camaro",
|
||||
"typingsPackageName": "camaro",
|
||||
"sourceRepoURL": "https://github.com/tuananh/camaro",
|
||||
"asOfVersion": "2.2.4"
|
||||
},
|
||||
{
|
||||
"libraryName": "camel-case",
|
||||
"typingsPackageName": "camel-case",
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
import transform = require('camaro');
|
||||
|
||||
const x: object = transform('<root><child>text</child></root>', { text: 'root/child'});
|
||||
Vendored
-13
@@ -1,13 +0,0 @@
|
||||
// Type definitions for camaro 2.2
|
||||
// Project: https://github.com/tuananh/camaro
|
||||
// Definitions by: Tuan Anh Tran <https://github.com/tuananh>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
/**
|
||||
* Transform the input xml to json using the input template object.
|
||||
* @param input The input xml string
|
||||
* @param template The output template
|
||||
*/
|
||||
declare function transform(input: string, template: object): object;
|
||||
export = transform;
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"camaro-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user