mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Adds defintion for https://github.com/snaptortoise/konami-js
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
/// <reference path="./konami.d.ts" />
|
||||
|
||||
let urlEasteEgg = new Konami("www.example.com");
|
||||
|
||||
let actionEasteEgg = new Konami(() => alert("Konami !"));
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// Type definitions for Konami-js 1.4.3
|
||||
// Project: https://github.com/snaptortoise/konami-js
|
||||
// Definitions by: Matthieu Mourisson <https://github.com/mareek>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare class Konami {
|
||||
constructor(action: string | Function);
|
||||
}
|
||||
Reference in New Issue
Block a user