Skip to content

Commit 51946ea

Browse files
committed
don't include the REPLACEME boilerplate which will be added on the outside
1 parent f34e213 commit 51946ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/shell-api/bin/api-postprocess.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ async function main() {
106106
plugins: ['typescript'],
107107
},
108108
});
109-
let code = result?.code ?? '';
109+
const code = result?.code ?? '';
110+
/*
110111
code += `
111112
// REPLACEME
112113
type MongodbServerSchema = {
@@ -142,6 +143,7 @@ declare global {
142143
var use: (collection: StringKey<MongodbServerSchema>) => void;
143144
}
144145
`;
146+
*/
145147
await fs.writeFile(
146148
path.resolve(__dirname, '..', 'lib', 'api-processed.d.ts'),
147149
code

0 commit comments

Comments
 (0)