mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
259 B
TypeScript
10 lines
259 B
TypeScript
import mega from 'megajs';
|
|
|
|
// $ExpectType Storage
|
|
mega({email: 'test@test.net', password: '1234'});
|
|
|
|
// tslint:disable-next-line no-duplicate-imports
|
|
import { Storage } from 'megajs';
|
|
|
|
const storage = new Storage({email: 'test@test.net', password: '1234'});
|