Skip to content

Commit

Permalink
feat: expose types
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMassimo committed Oct 19, 2022
1 parent 04ed88a commit 6b9a73c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.ts
Expand Up @@ -15,13 +15,13 @@ import type { Plugin } from 'vite'
* process.env values are strings, and the inconsistency would make it easy to
* introduce sutble bugs.
*/
type EnvVarDefault = string | null | undefined
export type EnvVarDefault = string | null | undefined

type EnvVarDefaults = Record<string, EnvVarDefault>
export type EnvVarDefaults = Record<string, EnvVarDefault>

type EnvVars = 'all' | string[] | EnvVarDefaults
export type EnvVars = 'all' | string[] | EnvVarDefaults

interface EnvOptions {
export interface EnvOptions {
/**
* Only variables that match this prefix will be made available.
* @default ''
Expand Down

0 comments on commit 6b9a73c

Please sign in to comment.