Export NumberConfigOptions and StringConfigOptions (#3615)

This commit is contained in:
Justin Van Patten 2019-12-09 22:48:54 +00:00 committed by GitHub
parent 048acc24f7
commit 4545b4a9de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -325,7 +325,7 @@ export class Config {
/**
* StringConfigOptions may be used to constrain the set of legal values a string config value may contain.
*/
interface StringConfigOptions<K extends string = string> {
export interface StringConfigOptions<K extends string = string> {
/**
* The legal enum values. If it does not match, a ConfigEnumError is thrown.
*/
@ -347,7 +347,7 @@ interface StringConfigOptions<K extends string = string> {
/**
* NumberConfigOptions may be used to constrain the set of legal values a number config value may contain.
*/
interface NumberConfigOptions {
export interface NumberConfigOptions {
/**
* The minimum number value, inclusive. If the number is less than this, a ConfigRangeError is thrown.
*/