Skip to content

Commit

Permalink
directly call dependencies to avoid extra compilation code
Browse files Browse the repository at this point in the history
  • Loading branch information
wszerad committed Mar 5, 2020
1 parent 19214f5 commit 0df2086
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@wssz/cross-api",
"author": "[email protected]",
"license": "MIT",
"version": "0.1.1",
"version": "0.1.2",
"main": "dist/index.js",
"types": "dist/index.d.ts",

Expand Down
2 changes: 1 addition & 1 deletion src/ApiCaller.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { METHOD_METADATA, PATH_METADATA, ROUTE_ARGS_METADATA } from '@nestjs/common/constants';
import { RequestMethod } from '@nestjs/common';
import { RequestMethod } from '@nestjs/common/enums/request-method.enum';
import { RETURN_METADATA } from './decorators';
import { Endpoint } from './Endpoint';

Expand Down
2 changes: 1 addition & 1 deletion src/Endpoint.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RequestMethod } from '@nestjs/common';
import { RequestMethod } from '@nestjs/common/enums/request-method.enum';
import { compile } from 'path-to-regexp';
import { RouteParamtypes } from '@nestjs/common/enums/route-paramtypes.enum';

Expand Down

0 comments on commit 0df2086

Please sign in to comment.