Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
fixup type build
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Dec 17, 2020
1 parent f12b58c commit 58a780e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions post-build.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
const fs = require('fs');
const { cp, mkdir, rm } = require('shelljs');
const { cp, rm } = require('shelljs');

if (fs.existsSync('dist/ts-4.1')) {
rm('-r', 'dist/ts-4.1');
}
mkdir('-p', 'dist/ts-4.1');

cp('-r', 'dist/ts', 'dist/ts-4.1/');
cp('-r', 'dist/ts/', 'dist/ts-4.1');

const stubTs41Types = `
import { EndpointDefinitions } from './endpointDefinitions';
Expand Down

0 comments on commit 58a780e

Please sign in to comment.