Skip to content

Commit

Permalink
Uncomment lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dgieselaar committed May 23, 2023
1 parent 715b901 commit 211f0f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/kbn-server-route-repository/src/test_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ type TestRepository = typeof repository;
// EndpointOf should return all valid endpoints of a repository

assertType<Array<EndpointOf<TestRepository>>>([
// 'GET /internal/endpoint_with_params',
'GET /internal/endpoint_with_params',
'GET /internal/endpoint_without_params',
// 'GET /internal/endpoint_with_optional_params',
'GET /internal/endpoint_with_optional_params',
]);

// @ts-expect-error Type '"this_endpoint_does_not_exist"' is not assignable to type '"endpoint_without_params" | "endpoint_with_params" | "endpoint_with_optional_params"'
Expand Down

0 comments on commit 211f0f6

Please sign in to comment.