-
Notifications
You must be signed in to change notification settings - Fork 120
/
Copy pathtypings.d.ts
47 lines (38 loc) · 1.06 KB
/
typings.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/// <reference types="zone.js" />
/// <reference types="meteor-typings" />
/// <reference types="@types/underscore" />
/// <reference types="@types/node" />
declare module '*.html' {
const template: string;
export default template;
}
declare module '*.scss' {
const style: string;
export default style;
}
declare module '*.less' {
const style: string;
export default style;
}
declare module '*.css' {
const style: string;
export default style;
}
declare module '*.sass' {
const style: string;
export default style;
}
declare module 'meteor/tmeasday:publish-counts' {
import { Mongo } from 'meteor/mongo';
interface CountsObject {
get(publicationName: string): number;
publish(context: any, publicationName: string, cursor: Mongo.Cursor, options: any): number;
}
export const Counts: CountsObject;
}
declare module 'meteor/accounts-base' {
module Accounts {
function requestPhoneVerification(phoneNumber: string, callback?: Function): void;
function verifyPhone(phoneNumber: string, code: string, callback?: Function): void;
}
}