* Sets used for side effects only. * @param {RuntimeSpec} runtime the runtime * @returns {boolean} true, when something changed
(runtime)
| 540 | * @returns {boolean} true, when something changed |
| 541 | */ |
| 542 | setUsedForSideEffectsOnly(runtime) { |
| 543 | return this._sideEffectsOnlyInfo.setUsedConditionally( |
| 544 | (used) => used === UsageState.Unused, |
| 545 | UsageState.Used, |
| 546 | runtime |
| 547 | ); |
| 548 | } |
| 549 | |
| 550 | /** |
| 551 | * Checks whether this exports info is used. |
no test coverage detected