Skip to content

types for invoke_task #520

Description

@ryanatkn

One of the few rough edges I notice often in Gro these days is the lack of types for invoke_task.

  • generate types so task name string+params are checked against the project's tasks and their args (resolve all including gro's builtins)
    • maybe import task types using the same strategy as SvelteKit, tsconfig rootDirs with ./$types.js?
  • maybe invoke_task should optionally accept a task function reference? the string form allows you to transparently override builtins which I continue to like

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions