We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
参照 框架扩展文档 用 TS 实现提示错误:
import * as path from 'path' import { Application as EggApplication } from 'egg' export const EGG_PATH = Symbol.for('egg#eggPath'); export default class Application extends EggApplication { get [EGG_PATH]() { return path.dirname(__dirname); } }
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
chore(typings): change export interface to class definition
9081d66
issue: eggjs#2292
chore(typings): export class Agent
f863f52
relevant issue: eggjs#2292
also error during this usage:
import * as path from 'path' import {Agent as EggAgent} from 'egg' export const EGG_PATH = Symbol.for('egg#eggPath'); export default class Agent extends EggAgent { get [EGG_PATH]() { return path.dirname(__dirname); } }
shepherdwind
whxaxes
No branches or pull requests
参照 框架扩展文档
用 TS 实现提示错误:
The text was updated successfully, but these errors were encountered: