Skip to content

Commit 52ebb8f

Browse files
committed
docs(di): fix links di docs
1 parent 35878c5 commit 52ebb8f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

modules/angular2/src/core/di/exceptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export class InvalidProviderError extends BaseException {
195195
* expect(() => Injector.resolveAndCreate([A])).toThrowError();
196196
* ```
197197
*
198-
* This error is also thrown when the class not marked with {@link @Injectable} has parameter types.
198+
* This error is also thrown when the class not marked with {@link Injectable} has parameter types.
199199
*
200200
* ```typescript
201201
* class B {}

modules/angular2/src/core/di/injector.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ export class Injector {
457457
* });
458458
* ```
459459
*
460-
* See {@link fromResolvedProviders} for more info.
460+
* See {@link Injector#fromResolvedProviders} for more info.
461461
*/
462462
static resolve(providers: Array<Type | Provider | any[]>): ResolvedProvider[] {
463463
return resolveProviders(providers);
@@ -487,7 +487,7 @@ export class Injector {
487487
*
488488
* This function is slower than the corresponding `fromResolvedProviders`
489489
* because it needs to resolve the passed-in providers first.
490-
* See {@link resolve} and {@link fromResolvedProviders}.
490+
* See {@link Injector#resolve} and {@link Injector#fromResolvedProviders}.
491491
*/
492492
static resolveAndCreate(providers: Array<Type | Provider | any[]>): Injector {
493493
var resolvedProviders = Injector.resolve(providers);
@@ -658,7 +658,7 @@ export class Injector {
658658
*
659659
* This function is slower than the corresponding `createChildFromResolved`
660660
* because it needs to resolve the passed-in providers first.
661-
* See {@link resolve} and {@link createChildFromResolved}.
661+
* See {@link Injector#resolve} and {@link Injector#createChildFromResolved}.
662662
*/
663663
resolveAndCreateChild(providers: Array<Type | Provider | any[]>): Injector {
664664
var resolvedProviders = Injector.resolve(providers);

modules/angular2/src/core/di/provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const _EMPTY_LIST = CONST_EXPR([]);
5757
@CONST()
5858
export class Provider {
5959
/**
60-
* Token used when retrieving this provider. Usually, it is a type {@link `Type`}.
60+
* Token used when retrieving this provider. Usually, it is a type {@link Type}.
6161
*/
6262
token;
6363

0 commit comments

Comments
 (0)