Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
auto-install-peers=true
git-checks=false
node-linker=hoisted
1 change: 1 addition & 0 deletions packages/plugins/trpc/src/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const compilerOptions: CompilerOptions = {
emitDecoratorMetadata: true,
experimentalDecorators: true,
esModuleInterop: true,
skipLibCheck: true,
};

export const project = new Project({
Expand Down
4 changes: 3 additions & 1 deletion packages/schema/tests/generator/expression-writer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,9 @@ async function check(schema: string, getExpr: (model: DataModel) => Expression,
const model = await loadModel(schema);
const expr = getExpr(model.declarations.find((d) => isDataModel(d) && d.name === 'Test') as DataModel);

const project = new Project();
const project = new Project({
compilerOptions: { skipLibCheck: true },
});

const { name: sourcePath } = tmp.fileSync({ postfix: '.ts' });
const sf = project.createSourceFile(sourcePath, undefined, {
Expand Down