Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!
MIT License
Published by Romakita about 3 years ago
@Constant
, @Value
, @Inject
and @InjectContext
decorators (74b3974)Example:
@EntityRepository(Timeslot)
export class TimeslotsRepository extends Repository<Timeslot> {
@InjectContext()
protected $ctx?: DIContext; // works now with Repository
}