First pass of custom tag behavior (schema and postProcess) support

See API/tag.md for explanations and examples.
This commit is contained in:
Zef Hemel
2026-01-22 15:32:01 +01:00
parent 27d4ab6339
commit 9b05beba16
28 changed files with 274 additions and 83 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { syscall } from "../syscall.ts";
* @param defaultValue The default value to return if the path doesn't exist
* @returns The value at the path, or the default value
*/
export function get<T>(path: string, defaultValue: T): Promise<T> {
export function get<T>(path: string | string[], defaultValue: T): Promise<T> {
return syscall("config.get", path, defaultValue);
}