mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
@types/meteor: Add imports in *.d.ts files so as to remove implicit imports from /globals folder. (#38545)
* Add imports in *.d.ts files so as to remove implicit imports. * Fix omission of Mongo import in service-configuration.d.ts
This commit is contained in:
committed by
Michael Crane
parent
22ac2d9abd
commit
129abd98db
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
declare module "meteor/accounts-base" {
|
||||
interface URLS {
|
||||
resetPassword: (token: string) => string;
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
import { Tracker } from 'meteor/tracker';
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
declare module "meteor/blaze" {
|
||||
module Blaze {
|
||||
var View: ViewStatic;
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
declare module "meteor/ddp" {
|
||||
module DDP {
|
||||
interface DDPStatic {
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
declare type global_Error = Error;
|
||||
declare module Meteor {
|
||||
/** Global props **/
|
||||
var isClient: boolean;
|
||||
|
||||
Vendored
+5
-1
@@ -1,5 +1,9 @@
|
||||
type global_Error = Error;
|
||||
import { Mongo } from 'meteor/mongo';
|
||||
import { EJSONable, EJSONableProperty } from 'meteor/ejson';
|
||||
import { Blaze } from 'meteor/blaze';
|
||||
import { DDP } from 'meteor/ddp';
|
||||
declare module "meteor/meteor" {
|
||||
type global_Error = Error;
|
||||
module Meteor {
|
||||
/** Global props **/
|
||||
var isClient: boolean;
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
declare module "meteor/mongo" {
|
||||
module Mongo {
|
||||
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
import { Mongo } from 'meteor/mongo';
|
||||
declare module "meteor/service-configuration" {
|
||||
interface Configuration {
|
||||
appId: string;
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
import { EJSONable } from 'meteor/ejson';
|
||||
declare module "meteor/session" {
|
||||
module Session {
|
||||
function equals(key: string, value: string | number | boolean | any): boolean;
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
import { Blaze } from 'meteor/blaze';
|
||||
declare module "meteor/templating" {
|
||||
var Template: TemplateStatic;
|
||||
interface TemplateStatic extends Blaze.TemplateStatic {
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
import { EJSON } from 'meteor/ejson';
|
||||
declare module "meteor/tools" {
|
||||
module App {
|
||||
function accessRule(pattern: string, options?: {
|
||||
|
||||
Reference in New Issue
Block a user