Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniopresto committed Dec 5, 2024
1 parent 8a181fa commit 32c80f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/schema/src/generateTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export let defaultTypesDest = path.resolve(
'src/generated/powership.d.ts'
);

export async function generateTypes(dest?: string) {
export async function generateTypes(dest = defaultTypesDest) {
const creators = Object.keys(typesRecord).map((name) => {
let txt = '';

Expand Down
2 changes: 1 addition & 1 deletion packages/utils/src/formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export class Formatter implements IFormatter {
return new _BrowserFormatter();
}

// @only-browser
// @only-server
return new _NodeFormatter();
})();
}
Expand Down

0 comments on commit 32c80f6

Please sign in to comment.