##// END OF EJS Templates
created typings for basic part of dojo and dijit further work is required to...
created typings for basic part of dojo and dijit further work is required to complete typings and separate them from this project dojo-typings replaced with @type/dojo, @type/dijit.

File last commit:

r2:8ec37bf1b4d1 default
r2:8ec37bf1b4d1 default
Show More
kernel.d.ts
75 lines | 1.8 KiB | video/mp2t | TypeScriptLexer
/* dojo/_base/kernel */
import Config = require('./config');
declare namespace dojo {
interface Dijit {
}
interface Dojox {
}
interface Dojo {
config: Config;
global: any;
// TODO: dojot, dojox
dijit: Dijit;
dojox: Dojox;
/**
* a map from a name used in a legacy module to the (global variable name, object addressed by that name)
* always map dojo, dijit, and dojox
*/
scopeMap: {
[scope: string]: [string, any];
dojo: [string, Dojo];
dijit: [string, Dijit];
dojox: [string, Dojox];
};
baseUrl: string;
isAsync: boolean;
locale: string;
version: {
major: number;
minor: number;
patch: number;
flag: string;
revision: number;
toString(): string;
};
/**
* A legacy method created for use exclusively by internal Dojo methods. Do not use this method
* directly unless you understand its possibly-different implications on the platforms your are targeting.
*/
eval(scriptText: string): any;
exit(exitcode?: number): void;
/**
* Log a debug message to indicate that a behavior has been
* deprecated.
*/
deprecated(behaviour: string, extra?: string, removal?: string): void;
/**
* Marks code as experimental.
*/
experimental(moduleName: string, extra?: string): void;
/**
* Returns a URL relative to a module.
*/
moduleUrl(module: string, url?: string): any;
/**
* for backward compatibility with layers built with 1.6 tooling
*/
_hasResource: any;
}
}
declare const dojo: dojo.Dojo;
export = dojo;