mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-12 12:10:44 +08:00
added atom/atom.d.ts and dependencies...
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/// <reference path="./mixto.d.ts" />
|
||||
|
||||
import Mixin = require("mixto");
|
||||
|
||||
interface ISampleStatic extends Mixto.IMixinStatic {
|
||||
new ():ISample;
|
||||
}
|
||||
|
||||
interface ISample {
|
||||
test():string;
|
||||
}
|
||||
|
||||
declare var Sample: ISampleStatic;
|
||||
|
||||
Sample.includeInto(Function);
|
||||
Sample.extend({});
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
// Type definitions for mixto
|
||||
// Project: https://github.com/atom/mixto
|
||||
// Definitions by: vvakame <https://github.com/vvakame/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module Mixto {
|
||||
interface IMixinStatic {
|
||||
includeInto(constructor:any):void;
|
||||
extend(object:any):void;
|
||||
}
|
||||
}
|
||||
|
||||
declare module "mixto" {
|
||||
var _tmp:Mixto.IMixinStatic;
|
||||
export = _tmp;
|
||||
}
|
||||
Reference in New Issue
Block a user