Skip to content

Commit

Permalink
docs: fixes typo in tryGetContext docstring (aws#10061)
Browse files Browse the repository at this point in the history
Fixes a small typo I discovered.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
dehli authored Aug 31, 2020
1 parent f5dbed6 commit 34f40b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/core/lib/construct-compat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export class ConstructNode {
* Context is usually initialized at the root, but can be overridden at any point in the tree.
*
* @param key The context key
* @returns The context value or `undefined` if there is no context value for thie key.
* @returns The context value or `undefined` if there is no context value for the key.
*/
public tryGetContext(key: string): any {
if (Token.isUnresolved(key)) {
Expand Down

0 comments on commit 34f40b9

Please sign in to comment.