Skip to content

Conversation

@iowillhoit
Copy link
Contributor

Part of @W-19459009@

@iowillhoit iowillhoit requested a review from a team as a code owner August 29, 2025 17:55
@iowillhoit
Copy link
Contributor Author

We were getting typescripts errors for the enums:

 Exception during run: ~/dev/kit/test/env.test.ts:93
      it('should get a default for an undefined envar from an enum, with a transform', () => {
  >     enum Mode {
          TEST = 'test',
          DEMO = 'demo',
  >     }
        const value = env.getKeyOf('ENUM2', Mode, Mode.DEMO, (v) => v.toUpperCase());

SyntaxError: TypeScript enum is not supported in strip-only mode

@iowillhoit iowillhoit merged commit 39acf11 into main Sep 3, 2025
13 checks passed
@iowillhoit iowillhoit deleted the ew/oss-templates-25 branch September 3, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants