Add return type
This commit is contained in:
parent
b9d1012ae7
commit
be3827b746
|
@ -3,6 +3,6 @@ import { parse as YamlParse } from 'yaml'
|
|||
|
||||
export function run() {
|
||||
const content = readFileSync('config.yaml', 'utf8')
|
||||
const CONFIG = YamlParse(content)
|
||||
const CONFIG: object = YamlParse(content)
|
||||
console.debug(CONFIG)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue