diff --git a/README.md b/README.md index f21e35a..e1d2f21 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ Welcome. See [ESLint contribution guidelines](https://eslint.org/docs/developer- - `npm test` runs tests and measures code coverage. - `npm run lint` checks source codes with ESLint. - `npm run coverage` opens the code coverage report of the previous test with your default browser. -- `npm run release` publishes this package to [npm] registory. +- `npm run release` publishes this package to [npm] registry. [npm]: https://www.npmjs.com/ diff --git a/tools/get-keys-from-ts.js b/tools/get-keys-from-ts.js index 514fe89..4a13b87 100644 --- a/tools/get-keys-from-ts.js +++ b/tools/get-keys-from-ts.js @@ -260,7 +260,7 @@ function getKeysFromTs(code, { const initialNodes = {}; /** - * Finds a TypeScript interfaction declaration. + * Finds a TypeScript interface declaration. * @param {string} interfaceName The type name. * @returns {Node} The interface declaration node */