Merge pull request #5002 from enlight/atom-keymap-ts1.5

Use ES6 style import in typings tests for atom-keymap library
This commit is contained in:
Masahiro Wakame
2015-07-23 01:10:16 +09:00
+1 -5
View File
@@ -1,10 +1,6 @@
/// <reference path="./atom-keymap.d.ts" />
import atomKeymap = require('atom-keymap');
var KeymapManager = atomKeymap.KeymapManager;
type ICompleteMatchEvent = AtomKeymap.ICompleteMatchEvent;
// The import and type aliasing above can be done more concisely in TypeScript 1.5+:
//import { KeymapManager, ICompleteMatchEvent } from "atom-keymap";
import { KeymapManager, ICompleteMatchEvent } from "atom-keymap";
var manager = new KeymapManager();
manager.add('some/unique/path', {