Skip to content

Commit fd3aae4

Browse files
committed
fix typos
1 parent 5c41f9b commit fd3aae4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/component/src/provider.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class Provider<T extends Name> {
5757
}
5858
} catch (e) {
5959
// when the instance factory throws an exception during get(), it should not cause
60-
// an fatal error. We just return the unresolved promise in this case.
60+
// a fatal error. We just return the unresolved promise in this case.
6161
}
6262
}
6363

@@ -129,7 +129,7 @@ export class Provider<T extends Name> {
129129
this.getOrInitializeService(DEFAULT_ENTRY_NAME);
130130
} catch (e) {
131131
// when the instance factory for an eager Component throws an exception during the eager
132-
// initialization, it should not cause an fatal error.
132+
// initialization, it should not cause a fatal error.
133133
// TODO: Investigate if we need to make it configurable, because some component may want to cause
134134
// a fatal error in this case?
135135
}
@@ -152,7 +152,7 @@ export class Provider<T extends Name> {
152152
instanceDeferred.resolve(instance);
153153
} catch (e) {
154154
// when the instance factory throws an exception, it should not cause
155-
// an fatal error. We just leave the promise unresolved.
155+
// a fatal error. We just leave the promise unresolved.
156156
}
157157
}
158158
}

0 commit comments

Comments
 (0)