Skip to content

Instantly share code, notes, and snippets.

@nehalist
Created May 5, 2017 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nehalist/a9eb714448e2b26ef04fdabdf19bd828 to your computer and use it in GitHub Desktop.
Save nehalist/a9eb714448e2b26ef04fdabdf19bd828 to your computer and use it in GitHub Desktop.
import {ConfigurationLoaderInterface} from "./ConfigurationLoaderInterface";
export class JsonConfigurationLoader implements ConfigurationLoaderInterface {
handle(file: string): Object {
return require(file);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment