mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-05 10:49:24 +02:00
refactor(struct): improve tree-shaking
This commit is contained in:
parent
70b0d3e5d8
commit
c1dc802364
15 changed files with 102 additions and 93 deletions
|
@ -25,7 +25,7 @@ export interface String {
|
|||
): Field<string, KOmitInit, KS>;
|
||||
}
|
||||
|
||||
// This is required for Rollup tree-shaking to work.
|
||||
// Rollup doesn't support `/* #__NO_SIDE_EFFECTS__ */ export const a = () => {}
|
||||
/* #__NO_SIDE_EFFECTS__ */
|
||||
function _string(
|
||||
lengthOrField: string | number | BufferLengthConverter<string, unknown>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue