From 53c558b8f1648ae02dde0857e49b5be24f223c35 Mon Sep 17 00:00:00 2001 From: Vadim Macagon Date: Tue, 21 Jul 2015 15:23:15 +0700 Subject: [PATCH] Use ES6 style import in typings tests for atom-keymap library --- atom-keymap/atom-keymap-tests.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/atom-keymap/atom-keymap-tests.ts b/atom-keymap/atom-keymap-tests.ts index 520327da9..8882f5b38 100644 --- a/atom-keymap/atom-keymap-tests.ts +++ b/atom-keymap/atom-keymap-tests.ts @@ -1,10 +1,6 @@ /// -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', {