2014-11-30 20:47:41 +01:00
|
|
|
//// [isDeclarationVisibleNodeKinds.ts]
|
|
|
|
|
|
|
|
// Function types
|
|
|
|
module schema {
|
|
|
|
export function createValidator1(schema: any): <T>(data: T) => T {
|
|
|
|
return undefined;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Constructor types
|
|
|
|
module schema {
|
|
|
|
export function createValidator2(schema: any): new <T>(data: T) => T {
|
|
|
|
return undefined;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// union types
|
|
|
|
module schema {
|
|
|
|
export function createValidator3(schema: any): number | { new <T>(data: T): T; } {
|
|
|
|
return undefined;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Array types
|
|
|
|
module schema {
|
|
|
|
export function createValidator4(schema: any): { new <T>(data: T): T; }[] {
|
|
|
|
return undefined;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// TypeLiterals
|
|
|
|
module schema {
|
|
|
|
export function createValidator5(schema: any): { new <T>(data: T): T } {
|
|
|
|
return undefined;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Tuple types
|
|
|
|
module schema {
|
|
|
|
export function createValidator6(schema: any): [ new <T>(data: T) => T, number] {
|
|
|
|
return undefined;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Paren Types
|
|
|
|
module schema {
|
|
|
|
export function createValidator7(schema: any): (new <T>(data: T)=>T )[] {
|
|
|
|
return undefined;
|
|
|
|
}
|
2014-12-01 08:54:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Type reference
|
|
|
|
module schema {
|
|
|
|
export function createValidator8(schema: any): Array<{ <T>(data: T) : T}> {
|
|
|
|
return undefined;
|
|
|
|
}
|
|
|
|
}
|
2014-12-01 22:20:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
module schema {
|
|
|
|
export class T {
|
|
|
|
get createValidator9(): <T>(data: T) => T {
|
|
|
|
return undefined;
|
|
|
|
}
|
|
|
|
|
|
|
|
set createValidator10(v: <T>(data: T) => T) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-30 20:47:41 +01:00
|
|
|
|
|
|
|
//// [isDeclarationVisibleNodeKinds.js]
|
|
|
|
// Function types
|
|
|
|
var schema;
|
2015-03-24 00:16:29 +01:00
|
|
|
(function (schema_1) {
|
2014-11-30 20:47:41 +01:00
|
|
|
function createValidator1(schema) {
|
|
|
|
return undefined;
|
|
|
|
}
|
2015-03-24 00:16:29 +01:00
|
|
|
schema_1.createValidator1 = createValidator1;
|
2014-11-30 20:47:41 +01:00
|
|
|
})(schema || (schema = {}));
|
|
|
|
// Constructor types
|
|
|
|
var schema;
|
2015-03-24 00:16:29 +01:00
|
|
|
(function (schema_2) {
|
2014-11-30 20:47:41 +01:00
|
|
|
function createValidator2(schema) {
|
|
|
|
return undefined;
|
|
|
|
}
|
2015-03-24 00:16:29 +01:00
|
|
|
schema_2.createValidator2 = createValidator2;
|
2014-11-30 20:47:41 +01:00
|
|
|
})(schema || (schema = {}));
|
|
|
|
// union types
|
|
|
|
var schema;
|
2015-03-24 00:16:29 +01:00
|
|
|
(function (schema_3) {
|
2014-11-30 20:47:41 +01:00
|
|
|
function createValidator3(schema) {
|
|
|
|
return undefined;
|
|
|
|
}
|
2015-03-24 00:16:29 +01:00
|
|
|
schema_3.createValidator3 = createValidator3;
|
2014-11-30 20:47:41 +01:00
|
|
|
})(schema || (schema = {}));
|
|
|
|
// Array types
|
|
|
|
var schema;
|
2015-03-24 00:16:29 +01:00
|
|
|
(function (schema_4) {
|
2014-11-30 20:47:41 +01:00
|
|
|
function createValidator4(schema) {
|
|
|
|
return undefined;
|
|
|
|
}
|
2015-03-24 00:16:29 +01:00
|
|
|
schema_4.createValidator4 = createValidator4;
|
2014-11-30 20:47:41 +01:00
|
|
|
})(schema || (schema = {}));
|
|
|
|
// TypeLiterals
|
|
|
|
var schema;
|
2015-03-24 00:16:29 +01:00
|
|
|
(function (schema_5) {
|
2014-11-30 20:47:41 +01:00
|
|
|
function createValidator5(schema) {
|
|
|
|
return undefined;
|
|
|
|
}
|
2015-03-24 00:16:29 +01:00
|
|
|
schema_5.createValidator5 = createValidator5;
|
2014-11-30 20:47:41 +01:00
|
|
|
})(schema || (schema = {}));
|
|
|
|
// Tuple types
|
|
|
|
var schema;
|
2015-03-24 00:16:29 +01:00
|
|
|
(function (schema_6) {
|
2014-11-30 20:47:41 +01:00
|
|
|
function createValidator6(schema) {
|
|
|
|
return undefined;
|
|
|
|
}
|
2015-03-24 00:16:29 +01:00
|
|
|
schema_6.createValidator6 = createValidator6;
|
2014-11-30 20:47:41 +01:00
|
|
|
})(schema || (schema = {}));
|
|
|
|
// Paren Types
|
|
|
|
var schema;
|
2015-03-24 00:16:29 +01:00
|
|
|
(function (schema_7) {
|
2014-11-30 20:47:41 +01:00
|
|
|
function createValidator7(schema) {
|
|
|
|
return undefined;
|
|
|
|
}
|
2015-03-24 00:16:29 +01:00
|
|
|
schema_7.createValidator7 = createValidator7;
|
2014-11-30 20:47:41 +01:00
|
|
|
})(schema || (schema = {}));
|
2014-12-01 08:54:21 +01:00
|
|
|
// Type reference
|
|
|
|
var schema;
|
2015-03-24 00:16:29 +01:00
|
|
|
(function (schema_8) {
|
2014-12-01 08:54:21 +01:00
|
|
|
function createValidator8(schema) {
|
|
|
|
return undefined;
|
|
|
|
}
|
2015-03-24 00:16:29 +01:00
|
|
|
schema_8.createValidator8 = createValidator8;
|
2014-12-01 08:54:21 +01:00
|
|
|
})(schema || (schema = {}));
|
2014-12-01 22:20:56 +01:00
|
|
|
var schema;
|
|
|
|
(function (schema) {
|
|
|
|
var T = (function () {
|
|
|
|
function T() {
|
|
|
|
}
|
|
|
|
Object.defineProperty(T.prototype, "createValidator9", {
|
|
|
|
get: function () {
|
|
|
|
return undefined;
|
|
|
|
},
|
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
Object.defineProperty(T.prototype, "createValidator10", {
|
|
|
|
set: function (v) {
|
|
|
|
},
|
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
return T;
|
|
|
|
})();
|
|
|
|
schema.T = T;
|
|
|
|
})(schema || (schema = {}));
|
2014-11-30 20:47:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
//// [isDeclarationVisibleNodeKinds.d.ts]
|
|
|
|
declare module schema {
|
|
|
|
function createValidator1(schema: any): <T>(data: T) => T;
|
|
|
|
}
|
|
|
|
declare module schema {
|
|
|
|
function createValidator2(schema: any): new <T>(data: T) => T;
|
|
|
|
}
|
|
|
|
declare module schema {
|
|
|
|
function createValidator3(schema: any): number | {
|
|
|
|
new <T>(data: T): T;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
declare module schema {
|
|
|
|
function createValidator4(schema: any): {
|
|
|
|
new <T>(data: T): T;
|
|
|
|
}[];
|
|
|
|
}
|
|
|
|
declare module schema {
|
|
|
|
function createValidator5(schema: any): {
|
|
|
|
new <T>(data: T): T;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
declare module schema {
|
|
|
|
function createValidator6(schema: any): [new <T>(data: T) => T, number];
|
|
|
|
}
|
|
|
|
declare module schema {
|
|
|
|
function createValidator7(schema: any): (new <T>(data: T) => T)[];
|
|
|
|
}
|
2014-12-01 08:54:21 +01:00
|
|
|
declare module schema {
|
|
|
|
function createValidator8(schema: any): Array<{
|
|
|
|
<T>(data: T): T;
|
|
|
|
}>;
|
|
|
|
}
|
2014-12-01 22:20:56 +01:00
|
|
|
declare module schema {
|
|
|
|
class T {
|
|
|
|
createValidator9: <T>(data: T) => T;
|
|
|
|
createValidator10: <T>(data: T) => T;
|
|
|
|
}
|
|
|
|
}
|