Skip to content

Commit

Permalink
feat(workspace): Add explicit return types
Browse files Browse the repository at this point in the history
Adds explicit return types for #719.
  • Loading branch information
langri-sha committed Jul 3, 2024
1 parent dd609a9 commit 7382ac8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "feat(workspace): Add explicit return types",
"packageName": "@langri-sha/projen-pnpm-workspace",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "feat(workspace): Add explicit return types",
"packageName": "@langri-sha/schemastore-to-typescript",
"email": "[email protected]",
"dependentChangeType": "none"
}
2 changes: 1 addition & 1 deletion packages/projen-pnpm-workspace/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class PnpmWorkspace extends YamlFile {
].join('\n')
}

addPackages(...packages: string[]) {
addPackages(...packages: string[]): void {
for (const pkg of packages) {
this.addToArray('packages', pkg)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/schemastore-to-typescript/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import createDebug from 'debug'

const debug = createDebug('schema-store-to-typescript')

export const program = new Command()
export const program: Command = new Command()
.name('schemastore-to-typescript')
.description('Compile a JSON schema store schema to TypeScript definitions')
.argument('<schema>', 'JSON schema store schema')
Expand Down

0 comments on commit 7382ac8

Please sign in to comment.