mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-18 14:38:25 +01:00
Fix lint errors and show docs explorer on Cmd click
This commit is contained in:
1 parent
6f1fd7a254
commit
0c60d190af
48 files changed
+454
-199
No files matched your search
@@ -7,7 +7,7 @@ export const plugin: PluginDefinition = {
|
||||
name: 'uuid.v1',
|
||||
description: 'Generate a UUID V1',
|
||||
args: [],
|
||||
async onRender(_ctx: Context, _args: CallTemplateFunctionArgs): Promise<string | null> {
|
||||
async onRender(): Promise<string | null> {
|
||||
return v1();
|
||||
},
|
||||
},
|
||||
@@ -32,7 +32,7 @@ export const plugin: PluginDefinition = {
|
||||
name: 'uuid.v4',
|
||||
description: 'Generate a UUID V4',
|
||||
args: [],
|
||||
async onRender(_ctx: Context, _args: CallTemplateFunctionArgs): Promise<string | null> {
|
||||
async onRender(): Promise<string | null> {
|
||||
return v4();
|
||||
},
|
||||
},
|
||||
@@ -68,7 +68,7 @@ export const plugin: PluginDefinition = {
|
||||
name: 'uuid.v7',
|
||||
description: 'Generate a UUID V7',
|
||||
args: [],
|
||||
async onRender(_ctx: Context, _args: CallTemplateFunctionArgs): Promise<string | null> {
|
||||
async onRender(): Promise<string | null> {
|
||||
return v7();
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user