mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-28 16:45:10 +08:00
* Added definition for async-polling * async-polling tests with noImplicitAny * Definitions for xsd-schema-validator * Definitions for duplexer2. * Added noImplicitThis: true
12 lines
502 B
TypeScript
12 lines
502 B
TypeScript
// Type definitions for xsd-schema-validator 0.5
|
|
// Project: https://github.com/nikku/node-xsd-schema-validator#readme
|
|
// Definitions by: Zlatko Andonovski <https://github.com/Goldsmith42/>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="node" />
|
|
|
|
export function validateXML(xml: string|NodeJS.ReadableStream|{file: string}, pathToXsd: string, callback: (err: Error, result: {
|
|
valid: boolean;
|
|
messages: string[];
|
|
result: string;
|
|
}) => void): void; |