Skip to content

Commit

Permalink
feature(@nestjs/common) support Symbol as a token
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Feb 18, 2018
1 parent cfa4bff commit 35fef2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export interface INestApplicationContext {
* Makes possible to retrieve the instance of the component or controller available inside the processed module.
* @returns T
*/
get<T>(metatypeOrToken: Metatype<T> | string): T;
get<T>(metatypeOrToken: Metatype<T> | string | symbol): T;
}

0 comments on commit 35fef2f

Please sign in to comment.