Skip to content

Commit

Permalink
Merge pull request #100 from grafana/restore-raw-types
Browse files Browse the repository at this point in the history
Restore Raw type
  • Loading branch information
sam boyer committed Apr 13, 2023
2 parents 5722229 + 4ac6c0e commit 74f2227
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ts/ast/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -559,3 +559,13 @@ const (
// preserving indentation.
CommentBelow
)

type Raw struct {
Data string
}

func (r Raw) decl() {}
func (r Raw) expr() {}
func (r Raw) String() string {
return r.Data
}

0 comments on commit 74f2227

Please sign in to comment.