You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.ts 365B

1234567891011121314151617
  1. import { UPDATE_FLAGS } from './actionTypes';
  2. /**
  3. * Updates the current features flags with the given ones. They will be merged.
  4. *
  5. * @param {Object} flags - The new flags object.
  6. * @returns {{
  7. * type: UPDATE_FLAGS,
  8. * flags: Object
  9. * }}
  10. */
  11. export function updateFlags(flags: Object) {
  12. return {
  13. type: UPDATE_FLAGS,
  14. flags
  15. };
  16. }