Skip to content

Commit

Permalink
fix(typings): export ALPNProtocol as "const enum" (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks authored Dec 25, 2022
1 parent cc656ff commit 7b36000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* governing permissions and limitations under the License.
*/

export enum ALPNProtocol {
export const enum ALPNProtocol {
ALPN_HTTP2 = 'h2',
ALPN_HTTP2C = 'h2c',
ALPN_HTTP1_1 = 'http/1.1',
Expand Down

0 comments on commit 7b36000

Please sign in to comment.