mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
64 lines
666 B
TypeScript
64 lines
666 B
TypeScript
//// [tests/cases/compiler/emitPreComments.ts] ////
|
|
|
|
//// [emitPreComments.ts]
|
|
// This is pre comment
|
|
var y = 10;
|
|
/**
|
|
* @name Foo
|
|
* @class
|
|
*/
|
|
/**#@+
|
|
* @memberOf Foo#
|
|
* @field
|
|
*/
|
|
/**
|
|
* @name bar
|
|
* @type Object[]
|
|
*/
|
|
/**#@-*/
|
|
/**
|
|
* @name Foo2
|
|
* @class
|
|
*/
|
|
/**#@+
|
|
* @memberOf Foo2#
|
|
* @field
|
|
*/
|
|
/**
|
|
* @name bar
|
|
* @type Object[]
|
|
*/
|
|
/**#@-*/
|
|
|
|
|
|
//// [emitPreComments.js]
|
|
"use strict";
|
|
// This is pre comment
|
|
var y = 10;
|
|
/**
|
|
* @name Foo
|
|
* @class
|
|
*/
|
|
/**#@+
|
|
* @memberOf Foo#
|
|
* @field
|
|
*/
|
|
/**
|
|
* @name bar
|
|
* @type Object[]
|
|
*/
|
|
/**#@-*/
|
|
/**
|
|
* @name Foo2
|
|
* @class
|
|
*/
|
|
/**#@+
|
|
* @memberOf Foo2#
|
|
* @field
|
|
*/
|
|
/**
|
|
* @name bar
|
|
* @type Object[]
|
|
*/
|
|
/**#@-*/
|