mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Move type and interface into index.d.ts
This commit is contained in:
6
tools/index.d.ts
vendored
6
tools/index.d.ts
vendored
@@ -17,4 +17,10 @@ declare global {
|
||||
// func-utils.ts makes usage of this feature
|
||||
displayName?: string;
|
||||
}
|
||||
|
||||
type StringOrRegExp = string | RegExp;
|
||||
|
||||
interface Discards {
|
||||
[packageName: string]: StringOrRegExp[];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,12 +2,6 @@ import * as files from "../fs/files";
|
||||
|
||||
const hasOwn = Object.prototype.hasOwnProperty;
|
||||
|
||||
type StringOrRegExp = string | RegExp;
|
||||
|
||||
interface Discards {
|
||||
[packageName: string]: StringOrRegExp[];
|
||||
}
|
||||
|
||||
// This class encapsulates a structured specification of files and
|
||||
// directories that should be stripped from the node_modules directories
|
||||
// of Meteor packages during `meteor build`, as requested by calling
|
||||
|
||||
Reference in New Issue
Block a user