mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
24 lines
374 B
TypeScript
24 lines
374 B
TypeScript
import saxStream = require('sax-stream');
|
|
|
|
// $ExpectType Transform
|
|
saxStream({ tag: '' });
|
|
|
|
// $ExpectType Transform
|
|
saxStream({
|
|
tag: '',
|
|
highWaterMark: 1,
|
|
strict: true,
|
|
trim: true,
|
|
normalize: true,
|
|
lowercase: true,
|
|
xmlns: true,
|
|
trackPosition: true,
|
|
strictEntities: true
|
|
});
|
|
|
|
// $ExpectError
|
|
saxStream({});
|
|
|
|
// $ExpectError
|
|
saxStream();
|