@@ -24,25 +24,33 @@ export interface ISimpleInterface {
2424 * @public
2525 */
2626export class AmbientConsumer {
27- // Found via tsconfig.json's "lib" setting, which specifies the built-in "es2015.collection"
27+ /**
28+ * Found via tsconfig.json's "lib" setting, which specifies the built-in "es2015.collection"
29+ */
2830 public builtinDefinition1 ( ) : Map < string , string > {
2931 return new Map < string , string > ( ) ;
3032 }
3133
32- // Found via tsconfig.json's "lib" setting, which specifies the built-in "es2015.promise"
34+ /**
35+ * Found via tsconfig.json's "lib" setting, which specifies the built-in "es2015.promise"
36+ */
3337 public builtinDefinition2 ( ) : Promise < void > {
3438 return new Promise < void > ( ( ) => { /* */ } ) ;
3539 }
3640
37- // Configured via tsconfig.json's "lib" setting, which specifies "@types/jest".
38- // The emitted index.d.ts gets a reference like this: <reference types="jest" />
41+ /**
42+ * Configured via tsconfig.json's "lib" setting, which specifies "@types/jest".
43+ * The emitted index.d.ts gets a reference like this: <reference types="jest" />
44+ */
3945 public definitelyTyped ( ) : jest . Context {
4046 return { } as jest . Context ;
4147 }
4248
43- // Found via tsconfig.json's "include" setting point to a *.d.ts file.
44- // This is an old-style Definitely Typed definition, which is the worst possible kind,
45- // because consumers are expected to provide this, with no idea where it came from.
49+ /**
50+ * Found via tsconfig.json's "include" setting point to a *.d.ts file.
51+ * This is an old-style Definitely Typed definition, which is the worst possible kind,
52+ * because consumers are expected to provide this, with no idea where it came from.
53+ */
4654 public localTypings ( ) : IAmbientInterfaceExample {
4755 return { } as IAmbientInterfaceExample ;
4856 }
0 commit comments