Add typings for IGrammar interface

This commit is contained in:
Victor M
2015-07-07 19:26:14 +05:00
parent 68725b6b6e
commit 811f53c77a

20
atom/atom.d.ts vendored
View File

@@ -905,9 +905,27 @@ declare module AtomCore {
}
interface IGrammar {
name: any;
bundledPackage: boolean;
emitter: any;
fileTypes: [string];
firstLineRegex: any;
foldingStopMarker: any;
includedGrammarScopes: [any];
initialRule: any;
injectionSelector: any;
injections: any;
maxTokensPerLine: Number;
name: string;
packageName: string;
path: string;
rawPatterns: [any];
rawRepository: any;
registration: Disposable;
registry: any;
repository: Object;
scopeName: string;
// TBD
}
interface IPane /* extends Theorist.Model */ {