Skip to content

Commit

Permalink
Remove type exports
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy committed May 9, 2024
1 parent e464bc1 commit d86dd71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions template/lambda-sqs-worker-cdk/infra/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { Env } from 'skuba-dive';

const ENVIRONMENTS = ['dev', 'prod'] as const;

export type Environment = (typeof ENVIRONMENTS)[number];
type Environment = (typeof ENVIRONMENTS)[number];

export const environment = Env.oneOf(ENVIRONMENTS)('ENVIRONMENT');
const environment = Env.oneOf(ENVIRONMENTS)('ENVIRONMENT');

export interface Config {
interface Config {
appName: string;
workerLambda: {
reservedConcurrency: number;
Expand All @@ -19,7 +19,7 @@ export interface Config {
sourceSnsTopicArn: string;
}

export const configs: Record<Environment, Config> = {
const configs: Record<Environment, Config> = {
dev: {
appName: '<%- serviceName %>',
workerLambda: {
Expand Down

0 comments on commit d86dd71

Please sign in to comment.