mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Add tests for oboe node function and remove superfluous oboe declaration.
This commit is contained in:
1 parent
db28808cdd
commit
2d0fe2589b
2 files changed
+15
-1
No files matched your search
@@ -32,3 +32,18 @@ oboe('/content')
|
||||
console.error('no such content');
|
||||
}
|
||||
});
|
||||
|
||||
oboe('friends.json')
|
||||
.node('friend', function (parsedJson) {
|
||||
console.log('friend parsed', parsedJson);
|
||||
});
|
||||
|
||||
oboe('friends.json')
|
||||
.node({
|
||||
'friend': function (parsedJson) {
|
||||
console.log('friend parsed', parsedJson);
|
||||
},
|
||||
'!': function (parsedJson) {
|
||||
console.log('root parsed', parsedJson);
|
||||
}
|
||||
});
|
||||
Vendored
-1
@@ -65,6 +65,5 @@ declare module oboe {
|
||||
declare var oboe: oboe.OboeFunction;
|
||||
|
||||
declare module "oboe" {
|
||||
var oboe: oboe.OboeFunction;
|
||||
export = oboe;
|
||||
}
|
||||
Reference in new issue
Block a user