mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: consumable max
This commit is contained in:
1 parent
ad1ad80026
commit
cbe7b42fb8
7 files changed
+65
-44
No files matched your search
@@ -3,6 +3,5 @@ import { parse } from 'yaml';
|
||||
|
||||
export async function readYAML<Type>(file: string) {
|
||||
const yaml = (await readFile(file)).toString();
|
||||
|
||||
return parse(yaml) as Type;
|
||||
}
|
||||
Reference in new issue
Block a user