Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DirectiveResponse

When handling an angular directive, you can generate TS source code for type-safety testing. This is what your directive can return to ng-typeview.

Hierarchy

  • DirectiveResponse

Index

Properties

Properties

Optional closeSource

closeSource: undefined | function

An optional function returning the code that'll be inserted when this tag gets closed (typically you'll give nothing, or } or }) for instance).

source

source: string

The code you want to insert in the generated typescript

Generated using TypeDoc