Skip to content

Commit c159867

Browse files
committed
feat: export more types
It is useful in dependent modules to be able to use the types.
1 parent cb3fb90 commit c159867

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ts/src/index.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@
1414
* limitations under the License.
1515
*/
1616
import { writeFileSync } from 'fs';
17-
import { gzipSync } from 'zlib';
18-
19-
import { perftools } from '../../proto/profile';
2017

2118
import * as heapProfiler from './heap-profiler';
2219
import { encodeSync } from './profile-encoder';
2320
import * as timeProfiler from './time-profiler';
21+
export {
22+
AllocationProfileNode,
23+
TimeProfileNode,
24+
ProfileNode,
25+
} from './v8-types';
2426

2527
export { encode, encodeSync } from './profile-encoder';
2628
export { SourceMapper } from './sourcemapper/sourcemapper';

0 commit comments

Comments
 (0)