Skip to content

Conversation

@sdzh-atlassian
Copy link
Member

What Is This Change?

Side-effect of combing through rovodev dependencies - this change proposes to remove direct dependency on @atlassianlabs/guipi-core-controller, since the library only had the following:

export type ReducerAction<K, V = void> = V extends void ? { type: K } : { type: K } & V;

export function defaultStateGuard<S>(state: S, a: never) {
    return state;
}

export function defaultActionGuard(a: never) {
    return;
}

This change moves this logic to src/ipc/messaging, and updates the references

How Has This Been Tested?

npm run extension:install -> click around ✅

Basic checks:

  • npm run lint
  • npm run test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants