mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[page] export a default
This commit is contained in:
parent
ed2ac3e90a
commit
4cd58dee40
6
types/page/index.d.ts
vendored
6
types/page/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for page v1.5.0
|
||||
// Type definitions for page v1.8.6
|
||||
// Project: http://visionmedia.github.io/page.js/
|
||||
// Definitions by: Alan Norbauer <http://alan.norbauer.com/>
|
||||
// James Garbutt <https://github.com/43081j>
|
||||
@ -285,8 +285,8 @@ declare namespace PageJS {
|
||||
}
|
||||
|
||||
declare module "page" {
|
||||
var page: PageJS.Static;
|
||||
export = page;
|
||||
const page: PageJS.Static;
|
||||
export default page;
|
||||
}
|
||||
|
||||
declare var page: PageJS.Static;
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
|
||||
|
||||
import page = require("page");
|
||||
import page from 'page';
|
||||
|
||||
//***********************************************************************
|
||||
// Basic Example
|
||||
|
||||
Loading…
Reference in New Issue
Block a user