Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[generator] Cannot find name 'ActiveRecord$Base' #102

Open
yukihirop opened this issue May 15, 2021 · 0 comments
Open

[generator] Cannot find name 'ActiveRecord$Base' #102

yukihirop opened this issue May 15, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@yukihirop
Copy link
Owner

Steps to reproduce

  static createOrThrow<T extends ActiveRecord$Base, U>(
    params?: Partial<U> | Array<Partial<U>>,
    yielder?: (self: T) => void
  ): Promise<T | T[]> {
    throw "Please override 'static createOrThrow' to hit the external API.";
  }

  static createOrThrow<T extends t.ActiveRecord$Base, U>(
    params?: Partial<U> | Array<Partial<U>>,
    yielder?: (self: T) => void
  ): Promise<T | T[]> {
    throw "Please override 'static createOrThrow' to hit the external API.";
  }
@yukihirop yukihirop added the bug Something isn't working label May 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant