Skip to content

Commit

Permalink
chore: fix typos in estimator tool (#1527)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan2k3k4 authored May 10, 2024
1 parent 1be6e64 commit d650dae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/npm/@amazeelabs/estimator/src/analyze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ const schemaProperties = {
FIELD_ARGUMENT_DEFINITION: 0,

/**
* Interface defintion
* Interface definition
*
* - implement a type resolver for this interface
*/
INTERFACE_DEFINITION: 0,

/**
* Union defintion
* Union definition
*
* - implement a type resolver for this union
*/
Expand All @@ -73,7 +73,7 @@ const schemaProperties = {
* Definition of a custom input type
*
* - more complex data massaging, passing to resolvers
* - more complext state handlign in the frontend
* - more complex state handling in the frontend
*/
INPUT_DEFINITION: 0,

Expand Down Expand Up @@ -183,7 +183,7 @@ export type Properties = keyof (typeof schemaProperties &
/**
* Usage of relevant directives within schema documents.
*
* If a directive is found on an element, it will be counted **instead** of the defintion
* If a directive is found on an element, it will be counted **instead** of the definition
* of the element itself.
*/
type DirectiveResults = Record<string, number>;
Expand Down Expand Up @@ -263,7 +263,7 @@ export function analyzeSchemas(
}
}

// Collect field defnitions on types.
// Collect field definitions on types.
def.fields?.forEach((field) => {
// Check if the field contains a known directive
// and simply increment that one instead.
Expand Down

0 comments on commit d650dae

Please sign in to comment.