Skip to content

Unexpected side effect of @hidden to @internal migration - exposed definitons #529

Closed as not planned
@merlinnot

Description

@merlinnot

Related issues

None found.

[REQUIRED] Version info

node: v10.16.0

firebase-functions: v3.1.0

firebase-tools: v7.0.2

firebase-admin: v8.2.0

[REQUIRED] Test case

This will compile, whereas it shouldn't:

const error = new HttpsError('unknown', 'test-message');

console.log(error.toJSON());

[REQUIRED] Steps to reproduce

See above.

[REQUIRED] Expected behavior

The code provided in the example should not compile.

[REQUIRED] Actual behavior

The code provided in the example compiles. This is caused by a migration from @internal to @hidden to support TypeDoc. stripInternal option is still specified in tsconfig.release.json, but has no effect as no code has @internal annotations anymore.

Were you able to successfully deploy your functions?

Yes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions