Alex Mikhalev 7 years ago
parent
commit
26e9b49499
  1. 1
      package.json
  2. 12
      server/types/module-alias.d.ts
  3. 4
      yarn.lock

1
package.json

@ -65,6 +65,7 @@
"@types/express": "^4.16.0", "@types/express": "^4.16.0",
"@types/jsonwebtoken": "^7.2.8", "@types/jsonwebtoken": "^7.2.8",
"@types/lodash": "^4.14.116", "@types/lodash": "^4.14.116",
"@types/module-alias": "^2.0.0",
"@types/node": "^10.5.7", "@types/node": "^10.5.7",
"@types/object-assign": "^4.0.30", "@types/object-assign": "^4.0.30",
"@types/pino": "^4.16.1", "@types/pino": "^4.16.1",

12
server/types/module-alias.d.ts vendored

@ -1,12 +0,0 @@
declare module "module-alias" {
interface ModuleAlias {
addAlias(shortName: string, longName: string): void;
addAliases(aliases: { [shortName: string]: string }): void;
addPath(moduleDirectory: string): void;
(packageJson: string): void;
(): void;
}
const moduleAlias: ModuleAlias;
export = moduleAlias;
}

4
yarn.lock

@ -89,6 +89,10 @@
version "2.0.0" version "2.0.0"
resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.0.tgz#5a7306e367c539b9f6543499de8dd519fac37a8b" resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.0.tgz#5a7306e367c539b9f6543499de8dd519fac37a8b"
"@types/module-alias@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@types/module-alias/-/module-alias-2.0.0.tgz#882668f8b8cdbda44812c3b592c590909e18849e"
"@types/node@*", "@types/node@^10.5.7": "@types/node@*", "@types/node@^10.5.7":
version "10.5.7" version "10.5.7"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.5.7.tgz#960d9feb3ade2233bcc9843c918d740b4f78a7cf" resolved "https://registry.yarnpkg.com/@types/node/-/node-10.5.7.tgz#960d9feb3ade2233bcc9843c918d740b4f78a7cf"

Loading…
Cancel
Save