workerd icon indicating copy to clipboard operation
workerd copied to clipboard

typos in generated worker-configuration.d.ts

Open BlazeWasHere opened this issue 9 months ago • 3 comments

as part of ci in a cf workers project, when running typos spell checker it gives a few errors (removed some false positives):

error: `Ouput` should be `Output`
  --> ./worker-configuration.d.ts:2954:38
     |
2954 | type Ai_Cf_Baai_Bge_M3_Output = BGEM3OuputQuery | BGEM3OutputEmbeddingForContexts | BGEM3OuputEmbedding;
     |                                      ^^^^^
     |
error: `Ouput` should be `Output`
  --> ./worker-configuration.d.ts:2954:90
     |
2954 | type Ai_Cf_Baai_Bge_M3_Output = BGEM3OuputQuery | BGEM3OutputEmbeddingForContexts | BGEM3OuputEmbedding;
     |                                                                                          ^^^^^
     |
error: `Ouput` should be `Output`
  --> ./worker-configuration.d.ts:2955:16
     |
2955 | interface BGEM3OuputQuery {
     |                ^^^^^
     |
error: `Ouput` should be `Output`
  --> ./worker-configuration.d.ts:2975:16
     |
2975 | interface BGEM3OuputEmbedding {
     |                ^^^^^
     |
error: `fufilled` should be `fulfilled`
  --> ./worker-configuration.d.ts:3509:35
     |
3509 |      * JSON schema that should be fufilled for the response.
     |                                   ^^^^^^^^
     |
error: `revokation` should be `revocation`
  --> ./worker-configuration.d.ts:4440:37
     |
4440 |     /** The presented certificate's revokation status.
     |                                     ^^^^^^^^^^
error: `idential` should be `identical`
  --> ./worker-configuration.d.ts:4733:39
     |
4733 |      * Calling this method returns an idential socket to if you call
     |                                       ^^^^^^^^
     |
error: `recieves` should be `receives`
  --> ./worker-configuration.d.ts:4939:16
     |
4939 |          * run recieves an array of PipelineRecord which can be
     |                ^^^^^^^^
     |

BlazeWasHere avatar Apr 13 '25 00:04 BlazeWasHere

oh dear 😱 ... indeed, I can confirm those typos are present in the workerd codebase. Thank you so much @BlazeWasHere for reporting. Going to add this to our backlog

CarmenPopoviciu avatar Apr 14 '25 13:04 CarmenPopoviciu

@thatsKevinJain

fhanau avatar May 02 '25 14:05 fhanau

Couple more:

MERCHANTABLITY OR NON-INFRINGEMENT. -> MERCHANTABILITY We are not inherting any SpanContext -> inheriting

perpil avatar Nov 15 '25 18:11 perpil