react-helmet: remove default export (#38557)

* react-helmet: remove default export

This package does not have a default export.

* react-helmet-async: bump typescript version

This depends on react, which has typescript version 2.8, so this
package has to be updated to match.
This commit is contained in:
Dobes Vandermeer 2019-09-26 11:49:22 -07:00 committed by Michael Crane
parent c313dca7d1
commit 7564c78a0a
2 changed files with 6 additions and 7 deletions

View File

@ -1,14 +1,14 @@
// Type definitions for react-helmet-async 1.0
// Project: https://github.com/staylor/react-helmet-async, https://github.com/nytimes/react-helmet-async
// Type definitions for react-helmet-async 0.0
// Project: https://github.com/staylor/react-helmet-async#readme
// Definitions by: forabi <https://github.com/forabi>
// Daniel Perez Alvarez <https://github.com/unindented>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from "react";
import { HelmetData } from "react-helmet";
import * as React from 'react';
export { default as Helmet } from "react-helmet";
import { Helmet, HelmetData } from 'react-helmet';
export { Helmet, HelmetData };
export interface PopulatedContext {
helmet: HelmetData;

View File

@ -81,4 +81,3 @@ export const peek: () => HelmetData;
export const rewind: () => HelmetData;
export const renderStatic: () => HelmetData;
export const canUseDOM: boolean;
export default Helmet;