docs: spelling (#24383)

* Docs: spelling

* Docs: spelling (contribute/ directory)

* Drop whats-new-in changes
This commit is contained in:
Josh Soref
2020-06-30 17:42:50 -04:00
committed by GitHub
parent e07d0ae452
commit 686149966a
8 changed files with 23 additions and 23 deletions

View File

@@ -25,7 +25,7 @@ All `exported` apis from the package should have a release tag to indicate its s
- [`@alpha`](https://api-extractor.com/pages/tsdoc/tag_alpha/) - early draft of api and will probably change.
- [`@beta`](https://api-extractor.com/pages/tsdoc/tag_beta/) - close to being stable but might change.
- [`@public`](https://api-extractor.com/pages/tsdoc/tag_public/) - ready for useage in production.
- [`@public`](https://api-extractor.com/pages/tsdoc/tag_public/) - ready for usage in production.
- [`@internal`](https://api-extractor.com/pages/tsdoc/tag_internal/) - for internal use only.
### Main stability of APIs
@@ -139,7 +139,7 @@ This attribute can be skipped if the type provided by `typescript` and the funct
```typescript
/**
* Will help to create a resource resovler depending
* Will help to create a resource resolver depending
* on the current execution context.
*
* @param context - The current execution context.
@@ -179,7 +179,7 @@ This attribute can be skipped if the type provided by `typescript` and the funct
```typescript
/**
* Will help to create a resource resovler depending
* Will help to create a resource resolver depending
* on the current execution context.
*
* @param context - The current execution context.
@@ -206,4 +206,4 @@ export const factory = (context: Context): IResolver => {
export const isEqual = (x: number, y: number): boolean => {
return x === y;
}
```
```

View File

@@ -109,7 +109,7 @@ class DateCalculator {
}
class DateCalculator {
// bad
calculate_timee_range () {...}
calculate_time_range () {...}
}
class DateCalculator {
@@ -149,7 +149,7 @@ interface ModalState {
```typescript
const getStyles = = () => ({
// bad
ElementWraper: css`...`,
ElementWrapper: css`...`,
// bad
["element-wrapper"]: css`...`,

View File

@@ -76,7 +76,7 @@ describe('MyComponent', () => {
restoreThemeContext();
});
it('renders correctyl', () => {
it('renders correctly', () => {
const wrapper = mount(<MyComponent />)
expect(wrapper).toMatchSnapshot();
});