Skip to content

Commit

Permalink
yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfarrell76 committed Dec 7, 2023
1 parent 1002d6b commit 58693a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 18.x
- run: yarn
- uses: pre-commit/[email protected]
with:
extra_args: --source ${{ github.event.pull_request.base.sha || 'HEAD~1' }} --origin ${{ github.event.pull_request.head.sha || 'HEAD' }}
Expand Down
4 changes: 0 additions & 4 deletions src/PersistedState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { decodeCodec } from '@transcend-io/type-utils';

/**
* The value of T[S], if it's not null/undefined
*
* @see https://github.com/pimterry/typesafe-get/blob/master/index.ts
*/
export type Prop<T, S extends keyof T> = NonNullable<T[S]>;
Expand All @@ -23,7 +22,6 @@ export class PersistedState<TStateCodec extends t.Any> {

/**
* Create a new release
*
* @param saveStatePath - The path to the env file that persists what step of deploy we are on
* @param stateCodec - The codec to validate the store shape
* @param defaultState - The default state when initializing for the first time
Expand Down Expand Up @@ -107,7 +105,6 @@ export class PersistedState<TStateCodec extends t.Any> {

/**
* Fetch a value form the release state
*
* @param props - Grab deeply nested values
* @returns The value of the state param
*/
Expand Down Expand Up @@ -173,7 +170,6 @@ export class PersistedState<TStateCodec extends t.Any> {

/**
* Set the value of a parameter on a certain step
*
* @param valueToSet - The value to set (if a list, can be a single list item)
* @param props - Set deeply nested values
*/
Expand Down

0 comments on commit 58693a1

Please sign in to comment.