Skip to content

Commit

Permalink
chore(comments): correct spelling (#4142)
Browse files Browse the repository at this point in the history
Thanks for this awesome library!

While investigating #4133 , I noticed a few typos in the comments. This PR corrects them.

No behaviour changes are introduced.

Two of the three comments are in exposed TS doc comments in `@jsii/kernel`. Let me know if you'd prefer a different commit type for those.

---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
  • Loading branch information
TimothyJones authored Jun 13, 2023
1 parent 38d327c commit 3ced1e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/@jsii/kernel/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export interface CreateRequest {
/**
* The FQNs of interfaces the instance implements, if any. Declaring
* interfaces that the class denoted by `fqn` implements is not necessary.
* This means that memebers of interfaces found in this property should
* This means that members of interfaces found in this property should
* declare members that are found in the `overrides` property.
*/
readonly interfaces?: string[];
Expand Down
2 changes: 1 addition & 1 deletion packages/@jsii/kernel/src/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { join } from 'path';
* copy otherwise.
*
* @param existing is the original file or directory to link.
* @param destination is the nbew file or directory to create.
* @param destination is the new file or directory to create.
*/
export function link(existing: string, destination: string): void {
const stat = statSync(existing);
Expand Down
2 changes: 1 addition & 1 deletion packages/@jsii/runtime/lib/host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class KernelHost {

private callbackHandler(callback: api.Callback) {
// write a "callback" response, which is a special response that tells
// the client that there's synchonous callback it needs to invoke and
// the client that there's synchronous callback it needs to invoke and
// bring back the result via a "complete" request.
this.inout.write({ callback });

Expand Down

0 comments on commit 3ced1e5

Please sign in to comment.